<template>
  <div class="box">
    <div class="box2">
      <div></div>
    </div>
    <div class="box3">
      <h2>180****903</h2>
    </div>
    <div class="box4">
      <button @click="fun">一键登录/注册</button>
    </div>
    <div class="box5">
      <a href="">手机号注册</a>
      <img src="../../assets/images/youjiantou.png" alt="" />
    </div>
    <div class="Older">
      <div v-for="item in image" :key="item.id">
        <img :src="item.url" alt="" />
      </div>
    </div>
  </div>
</template>

<script>
import { reactive } from "vue";
import router from "@/router";
export default {
  name: "about-i",
  setup() {
    const image = reactive([
      {
        url: require("../../assets/images/7.png"),
      },
      {
        url: require("../../assets/images/6.png"),
      },
      {
        url: require("../../assets/images/5.png"),
      },
      {
        url: require("../../assets/images/4.png"),
      },
    ]);
    function fun() {
      router.push({
        path: "/home/souye",
      });
    }
    return {
      image,
      fun,
    };
  },
};
</script>


<style lang="less" scoped>
* {
  margin: 0;
  padding: 0;
}
.box {
  position: relative;
  width: 25.9375rem;
  height: 100vh;
  margin: 0 auto;
  background: #ffffff;
}
.box2 {
  width: 25.9375rem;
  margin: auto;
  position: absolute;
  top: 20%;
  div {
    width: 6.0625rem;
    height: 6.0625rem;
    border-radius: 3.125rem;
    border: .5rem solid #fb4679;
    margin: auto;
  }
}
.box3 {
  width: 25.9375rem;
  position: absolute;
  height: 6.25rem;
  top: 42%;
  h2 {
    text-align: center;
    line-height: 7.5rem;
    font-size: 1.5rem;
    color: #000000;
    font-weight: bold;
    font-family: "Ping Fang  SC  Bold";
  }
}
.box4 {
  width: 25.9375rem;
  height: 3.125rem;
  margin: auto;
  position: absolute;
  bottom: 37%;
  button {
    margin-top: -0.9375rem;
    width: 10rem;
    height: 3.125rem;
    font-size: 1.375rem;
    border-radius: 1.5625rem;
    background-image: linear-gradient(180deg, #ffbfd1 0%, #fb2a64 100%);
    position: relative;
    left: 8.25rem;
    margin: auto;
    border: none;
  }
}

.box5 {
  width: 25.9375rem;
  height: 3.125rem;
  position: absolute;
  bottom: 30%;
  a {
    text-align: center;
    line-height: 3.75rem;
    font-size: 1rem;
    color: #fd3970;
    font-weight: bold;
    font-family: "Ping Fang  SC  Bold";
    position: relative;
    left: 10.3125rem;
  }
  img {
    width: .9375rem;
    height: .9375rem;
    position: relative;
    left: 10.625rem;
    top: .0625rem;
  }
}
.box5 a {
  text-decoration: none;
}
.Older {
  display: flex;
  justify-content: space-around;
  width: 24.125rem;
  height: 6.25rem;
  background-image: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
  margin: 0 auto;
  position: absolute;
  bottom: 0;
  img {
    float: left;
    margin-left: 1.125rem;
    width: 3.3125rem;
    height: 3.3125rem;
    border-radius: 1.6875rem;
    border: .125rem solid #ff4277;
  }
}
</style>